package com.debai.service.Impl;

import com.debai.pojo.Admin;
import com.debai.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private com.debai.mapper.AdminMapper adminMapper;

    @Override
    public Admin selectByAccountAndPassword(String adminCount, String adminPassword) {
        Admin admin =   adminMapper.selectByAccountAndPassword(adminCount,adminPassword);
        return admin;
    }
}
